<template>
  <div>
    <start-activit-designer ref="activitDesigner"></start-activit-designer>
  </div>
</template>
<script>

import StartActivitDesigner from "components/start-activiti/startActivitDesigner.vue";
import {createDefaultBpmnXml} from "@/page/bpmn-design/bpmnConfig";

export default {
  components: {StartActivitDesigner},
  data() {
    return {
      processModel: {bpmnXml: ''}
    }
  },
  created() {
    this.processModel.bpmnXml = createDefaultBpmnXml("system", "系统测试")
  },
  mounted() {
    this.$refs.activitDesigner.loadModelConfig(this.processModel, {})
  },
  methods: {}
}
</script>
<style scoped>

</style>
